<!-- review_ticket.html -->
<!DOCTYPE html>
<html lang="zh">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>审查票务请求</title>
    <link rel="stylesheet" href="{% static 'css/style.css' %}">
</head>
<body>
    <header>
        <h1>审查票务请求</h1>
    </header>
    <div class="ticket-review">
        <h3>票务请求详情</h3>
        <p><strong>类型:</strong> {{ ticket.ticket_type }}</p>
        <p><strong>数量:</strong> {{ ticket.quantity }}</p>
        <p><strong>状态:</strong> {{ ticket.status }}</p>

        <form method="POST" action="{% url 'review_ticket' ticket.id %}">
            {% csrf_token %}
            <div>
                <label for="status">状态:</label>
                <select id="status" name="status">
                    <option value="approved">批准</option>
                    <option value="rejected">拒绝</option>
                </select>
            </div>
            <button type="submit">提交</button>
        </form>
    </div>
</body>
</html>
